"""
核心业务逻辑模块
"""
from app.core.llm import llm_client, init_llm, chat, chat_stream
from app.core.retriever import knowledge_retriever, search_knowledge
from app.core.memory import (
    conversation_memory,
    save_user_message,
    save_assistant_message,
    get_conversation_history,
    clear_conversation,
)
from app.core.agent import (
    customer_service_agent,
    process_message,
    process_message_stream,
)
from app.core.deps import (
    get_current_user,
    get_current_active_user,
    get_current_admin_user,
)

__all__ = [
    # LLM
    "llm_client",
    "init_llm",
    "chat",
    "chat_stream",
    # Retriever
    "knowledge_retriever",
    "search_knowledge",
    # Memory
    "conversation_memory",
    "save_user_message",
    "save_assistant_message",
    "get_conversation_history",
    "clear_conversation",
    # Agent
    "customer_service_agent",
    "process_message",
    "process_message_stream",
    # Deps
    "get_current_user",
    "get_current_active_user",
    "get_current_admin_user",
]
